provider Mobile Builds GET /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/preprodartifacts/build-distribution/latest/
@utdk/sentry /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/preprodartifacts/build-distribution/latest/
Get the latest installable build for a project
Get the latest installable build for a project. Returns the latest installable build matching filter criteria. When buildVersion is provided, also returns the current build and whether an update is available.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
project_id_or_slug path required
The ID or slug of the project the resource belongs to.
string
appId query required
App identifier (exact match).
string
platform query required
Platform: "apple" or "android".
string
buildVersion query
Current build version. When provided, enables check-for-updates mode.
string
buildNumber query
Current build number. Either this or mainBinaryIdentifier must be provided when buildVersion is set.
integer
mainBinaryIdentifier query
UUID of the main binary (e.g. Mach-O UUID for Apple builds). Either this or buildNumber must be provided when buildVersion is set.
string
buildConfiguration query
Filter by build configuration name (exact match).
string
codesigningType query
Filter by code signing type.
string
installGroups query
Filter by install group name (repeatable for multiple groups).
array

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getTheLatestInstallableBuildForAProject
GET/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/preprodartifacts/build-distribution/latest/
Get the latest installable build for a project. Returns the latest installable build matching filter criteria. When buildVersion is provided, also returns the current build and whether an update is available.

Parameters

required

The ID or slug of the organization the resource belongs to.

required

The ID or slug of the project the resource belongs to.

required

App identifier (exact match).

required

Platform: "apple" or "android".

Current build version. When provided, enables check-for-updates mode.

Current build number. Either this or mainBinaryIdentifier must be provided when buildVersion is set.

UUID of the main binary (e.g. Mach-O UUID for Apple builds). Either this or buildNumber must be provided when buildVersion is set.

Filter by build configuration name (exact match).

Filter by code signing type.

Filter by install group name (repeatable for multiple groups).

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.getTheLatestInstallableBuildForAProject()